/**
 * 
 */
package com.antilia.infomaresme.pages.alert;

import org.apache.wicket.Component;
import org.apache.wicket.model.IModel;
import org.apache.wicket.model.ResourceModel;

import com.antilia.infomaresme.data.dataobjects.User;
import com.antilia.infomaresme.pages.BasePage;
import com.antilia.infomaresme.pages.LogedAsPanel;


/**
 * @author Ernesto
 *
 */
public class AlertsPage extends BasePage {

	private static final long serialVersionUID = 1L;
	
	/**
	 * 
	 */
	public AlertsPage(IModel<User> model) {
		AlertsPanel contents = new AlertsPanel("contents");
		add(contents);
	}
	
	@Override
	protected Component newRightPanel(String id) {
		return new LogedAsPanel(id);
	}
	
	@Override
	protected Component newTopMavigation(String id) {
		return new TitlePanel(id, new ResourceModel("alertsPage"));
	}

}
